package com.itheima.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
 * @author by itheima
 * @Date 2021/12/29
 * @Description 定义main启动类
 */
@SpringBootApplication//扫描将从引导类所在的包开始扫描
@MapperScan("com.itheima.stock.mapper")//扫描我们的dao层，用于创建接口的代理类，并将代理类存放到IOC容器中
public class StockApp {
    public static void main(String[] args) {
        SpringApplication.run(StockApp.class,args);
    }
}